package com.hjxr.sysadmin.zsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 襄阳概况图文对象 introduction
 *
 * @author hjxr
 * @date 2021-03-17
 */
public class Introduction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 所属页面 */
    @Excel(name = "所属页面")
    private String pages;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 副标题 */
    @Excel(name = "副标题")
    private String subtitle;

    /** 图 */
    @Excel(name = "图")
    private String photo;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer ordernum;

    /** 图片访问地址 */
    @Excel(name = "图片访问地址")
    private String photoaddres;

    /** 拼接访问地址 */
    @Excel(name = "拼接访问地址")
    private String realaddres;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPages(String pages)
    {
        this.pages = pages;
    }

    public String getPages()
    {
        return pages;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSubtitle(String subtitle)
    {
        this.subtitle = subtitle;
    }

    public String getSubtitle()
    {
        return subtitle;
    }
    public void setPhoto(String photo)
    {
        this.photo = photo;
    }

    public String getPhoto()
    {
        return photo;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setOrdernum(Integer ordernum)
    {
        this.ordernum = ordernum;
    }

    public Integer getOrdernum()
    {
        return ordernum;
    }
    public void setPhotoaddres(String photoaddres)
    {
        this.photoaddres = photoaddres;
    }

    public String getPhotoaddres()
    {
        return photoaddres;
    }
    public void setRealaddres(String realaddres)
    {
        this.realaddres = realaddres;
    }

    public String getRealaddres()
    {
        return realaddres;
    }
    public void setModifiedTime(Date modifiedTime)
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime()
    {
        return modifiedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pages", getPages())
            .append("type", getType())
            .append("title", getTitle())
            .append("subtitle", getSubtitle())
            .append("photo", getPhoto())
            .append("content", getContent())
            .append("ordernum", getOrdernum())
            .append("photoaddres", getPhotoaddres())
            .append("realaddres", getRealaddres())
            .append("modifiedTime", getModifiedTime())
            .toString();
    }
}
